package com.dy.gmall2206a.server.Impl;

import com.dy.gmall2206a.bean.Province;
import com.dy.gmall2206a.mapper.SugarMapper;
import com.dy.gmall2206a.server.SugarServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.lang.annotation.Annotation;
import java.util.List;

/**
 * @projectName: gmalll2206
 * @package: com.dy.gmall2206a.server.Impl
 * @className: SugarServerImpl
 * @author: DuanYu
 * @description: TODO
 * @date: 2025/3/9 16:35
 * @version: 1.0
 */
@Service
public class SugarServerImpl  implements SugarServer {
    @Autowired
    SugarMapper sugarMapper;

    @Override
    public List<Province> showMap() {
        return sugarMapper.showMap();
    }
}
